package com.google.code.puertorico

abstract sealed class Barrel {
  val price: Int
}
case object CornBarrel extends Barrel {
  val price = 0
}
case object IndigoBarrel extends Barrel {
  val price = 1
}
case object SugarBarrel extends Barrel {
  val price = 2
}
case object TobaccoBarrel extends Barrel {
  val price = 3
}
case object CoffeeBarrel extends Barrel {
  val price = 4
}
